﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Citi.Scheduler.Domain
{
    public partial class RoutineErrorEmail
    {
        public IEnumerable<RoutineErrorEmail> GetErrorByRoutineErrorId(int routineErrorId)
        {
            return SelectAllActive<RoutineErrorEmail>().Where(x => x.RoutineErrorId == routineErrorId);
        }
    }
}
